package com.czx.config;

import com.czx.service.TestService;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@EnableConfigurationProperties
public class AppConfig {

	@Bean
	public TestService testService(){
		return new TestService();
	}

}
